package com.edu.service.impl;

import com.edu.dao.FoodDao;
import com.edu.dao.impl.FoodDaoImpl;
import com.edu.domain.Food;
import com.edu.service.FoodService;

import java.util.List;

public class FoodServiceImpl implements FoodService {
    private FoodDao foodDao=new FoodDaoImpl();
    @Override
    public List<Food> listFoodByBusinessId(int businessId) {
        return foodDao.listFoodByBusinessId(businessId);
    }
}
